
package com.hwhp.service.console;
import java.util.*;

import com.hwhp.common.Pager;
import com.hwhp.entity.Deptment;
/**
 * @author lyf
 *Jun 25, 2009
 * desc: 
 */
public interface DepartService {
	public  List getFirstDepat();
	public  boolean deleteDepart(Deptment dept) throws Exception ;
    public  boolean insertDepart(Deptment dept);
    public  List getAllDept();
    public  boolean editDepart(Deptment dept);
    public  List getChildDepts(String parentId);
    public  Deptment getDepart(String deptId);
    
    public Pager queryDepts(String deptName, String parentId ,int pageNumber);
	
}
